﻿using UnityEngine;

namespace Tools
{
    public class PointTools
    {

        public static bool HorizontalPoint(Vector3 point1, Vector3 point2)
        {
            return Mathf.Abs(point1.x - point2.x) > Mathf.Abs(point1.y - point2.y);
        }
        public static bool VerticalPoint(Vector3 point1, Vector3 point2)
        {
            return Mathf.Abs(point1.y - point2.y) > Mathf.Abs(point1.x - point2.x);
        }
        
    }
}